package main

import "fmt"

type Any interface {
}

//Using empty interface array to load objects with any type
func main() {
	var data [5]Any
	data[0] = 1
	data[2] = "1_base"
	data[3] = 2
	data[4] = nil

	for _, item := range data {
		switch t:=item.(type) {
		case int:
			fmt.Printf("%d\n", t)
		case string:
			fmt.Printf("%s\n",t)
		}
	}
}
